/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pobicos;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import operators.OperatorImpl;

/**
 *
 * @author marcin
 */
public class Operator implements Serializable{
    
    private String name_;
    private int numberOfInputs_;
    private int numberOfOutputs_;
    private List<String> inputsList_ ;
    private List<String> outputsList_;
    private OperatorImpl fileImplName_;
    
    public Operator() {      
    }
    public Operator(String name, int inputs, int outputs) {
        name_ = name;
        numberOfInputs_ = inputs;
        numberOfOutputs_ = outputs;
        inputsList_ = new ArrayList<String>();
        outputsList_ = new ArrayList<String>();
        fileImplName_=null;
    }
    public String getName() {
        return name_;
    }
    public void setName(String name) {
        name_ = name;
    }
    public int getNumberOfInputs() {
        return numberOfInputs_;
    }
    public int getNumberOfOutputs() {
        return numberOfOutputs_;
    }
    public void setInputs(List<String> in) {
        inputsList_ = in;
    }
    public void  setOutputs(List<String> out) {
        outputsList_ = out;
    }
    public List<String> getInputs() {
        return inputsList_;
    }
    public List<String> getOutputs() {
        return outputsList_;
    }
    public void setFileImplName( OperatorImpl o) {
        fileImplName_ = o;
    }
    public OperatorImpl getFileImplName() {
        return fileImplName_;
    }
    
}
